package tij4.concurrent.exercise.ex11;

public abstract class Practice01 {

    private volatile boolean canceled = false;
    public abstract int[] next();
    public void cancel() { canceled = true; };
    public boolean isCanceled() { return canceled; };

}
